using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN SinhVienHocKyService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: SinhVienHocKyService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class SinhVienHocKyService : ISinhVienHocKyService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: SinhVienHocKy_ID</para>
		/// <para>Output: SinhVienHocKyEntity</para>
		///</summary>
		public SinhVienHocKyEntity SelectOne(int SinhVienHocKy_ID){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.SelectOne(SinhVienHocKy_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOneByMaXepLoaiTongKet</para>
		/// <para>Input: MaXepLoaiTongKet</para>
		/// <para>Output: SinhVienHocKyEntity</para>
		///</summary>
		public SinhVienHocKyEntity SelectOneByMaXepLoaiTongKet(string MaXepLoaiTongKet){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.SelectOneByMaXepLoaiTongKet(MaXepLoaiTongKet);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of SinhVienHocKyEntity</para>
		///</summary>
		public List<SinhVienHocKyEntity> SelectAll(){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of SinhVienHocKyEntity</para>
		///</summary>
		public List<SinhVienHocKyEntity> SelectAllFilter(string strFilter){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: SinhVienHocKyEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(SinhVienHocKyEntity o){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: SinhVienHocKyEntity</para>
		/// <para>Output: SinhVienHocKyEntity</para>
		///</summary>
		public SinhVienHocKyEntity SaveRet(SinhVienHocKyEntity o){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of SinhVienHocKyEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<SinhVienHocKyEntity> list){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of SinhVienHocKyEntity</para>
		/// <para>Output: List of SinhVienHocKyEntity</para>
		///</summary>
		public List<SinhVienHocKyEntity> SaveListRet(List<SinhVienHocKyEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: SinhVienHocKyEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(SinhVienHocKyEntity o){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of SinhVienHocKyEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<SinhVienHocKyEntity> list){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateSinhVien_ID</para>
		/// <para>Input: NewSinhVien_ID,SinhVienHocKy_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSinhVien_ID(int NewSinhVien_ID,int SinhVienHocKy_ID){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.UpdateSinhVien_ID(NewSinhVien_ID,SinhVienHocKy_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateHocKy_ID</para>
		/// <para>Input: NewHocKy_ID,SinhVienHocKy_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateHocKy_ID(int NewHocKy_ID,int SinhVienHocKy_ID){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.UpdateHocKy_ID(NewHocKy_ID,SinhVienHocKy_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNamHoc_ID</para>
		/// <para>Input: NewNamHoc_ID,SinhVienHocKy_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNamHoc_ID(int NewNamHoc_ID,int SinhVienHocKy_ID){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.UpdateNamHoc_ID(NewNamHoc_ID,SinhVienHocKy_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateDiemRenLuyen</para>
		/// <para>Input: NewDiemRenLuyen,SinhVienHocKy_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateDiemRenLuyen(Decimal NewDiemRenLuyen,int SinhVienHocKy_ID){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.UpdateDiemRenLuyen(NewDiemRenLuyen,SinhVienHocKy_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateDiemTongKet</para>
		/// <para>Input: NewDiemTongKet,SinhVienHocKy_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateDiemTongKet(Decimal NewDiemTongKet,int SinhVienHocKy_ID){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.UpdateDiemTongKet(NewDiemTongKet,SinhVienHocKy_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateMaXepLoaiTongKet</para>
		/// <para>Input: NewMaXepLoaiTongKet,SinhVienHocKy_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateMaXepLoaiTongKet(string NewMaXepLoaiTongKet,int SinhVienHocKy_ID){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.UpdateMaXepLoaiTongKet(NewMaXepLoaiTongKet,SinhVienHocKy_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateThangDanhGia_ID</para>
		/// <para>Input: NewThangDanhGia_ID,SinhVienHocKy_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateThangDanhGia_ID(int NewThangDanhGia_ID,int SinhVienHocKy_ID){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.UpdateThangDanhGia_ID(NewThangDanhGia_ID,SinhVienHocKy_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateXepLoaiRenLuyen_ID</para>
		/// <para>Input: NewXepLoaiRenLuyen_ID,SinhVienHocKy_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateXepLoaiRenLuyen_ID(int NewXepLoaiRenLuyen_ID,int SinhVienHocKy_ID){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.UpdateXepLoaiRenLuyen_ID(NewXepLoaiRenLuyen_ID,SinhVienHocKy_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNamThu</para>
		/// <para>Input: NewNamThu,SinhVienHocKy_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNamThu(Byte NewNamThu,int SinhVienHocKy_ID){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.UpdateNamThu(NewNamThu,SinhVienHocKy_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: SinhVienHocKyEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(SinhVienHocKyEntity o){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: SinhVienHocKy_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int SinhVienHocKy_ID){
			SinhVienHocKyDAO dao = new SinhVienHocKyDAO();
			return dao.DeleteByID(SinhVienHocKy_ID);
		}
		#endregion

		#region Select join to HocKyNamHocSinhVienXepLoaiTongKet functions
		#endregion

		#region Select join to HocKy functions
		#endregion

		#region Select join to NamHoc functions
		#endregion

		#region Select join to SinhVien functions
		#endregion

		#region Select join to XepLoaiTongKet functions
		#endregion

		#region Select,delete by SinhVienHocKy_ID functions
		#endregion

		#region Select,delete by SinhVien_ID functions
		#endregion

		#region Select,delete by HocKy_ID functions
		#endregion

		#region Select,delete by NamHoc_ID functions
		#endregion

		#region Select,delete by MaXepLoaiTongKet functions
		#endregion

		#region Select,delete by ThangDanhGia_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END SinhVienHocKyWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

